<!--{if !empty($jsmenu[2])}-->
	<ul class="popupmenu_popup headermenu_popup" id="memcp_menu" style="display: none">
		<li><a href="memcp.php">{lang memcp_home}</a></li>
		<li><a href="memcp.php?action=profile">{lang memcp_profile}</a></li>
		<!--{if $exchangestatus || $transferstatus || $ec_ratio}-->
			<li><a href="memcp.php?action=credits">{lang memcp_credits}</a></li>
		<!--{/if}-->
		<li><a href="memcp.php?action=creditslog">{lang memcp_credits_log}</a></li>
		<li><a href="memcp.php?action=usergroups">{lang memcp_usergroups}</a></li>
	<!--{if $spacestatus}-->
		<li><a href="memcp.php?action=spacemodule" target="_blank">{lang space_settings}</a></li>
	<!--{/if}-->
	<!--{if $supe['status'] && !$xspacestatus}-->
		<li><a href="$supe[siteurl]/?uid/$discuz_uid" target="_blank">{lang space_upgrade_space}</a></li>
	<!--{/if}-->
	</ul>
<!--{/if}-->

<!--{if !empty($plugins['jsmenu'])}-->
	<ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none">
	<!--{loop $plugins['jsmenu'] $module}-->
	     <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}-->
	     <li>$module[url]</li>
	     <!--{/if}-->
	<!--{/loop}-->
	</ul>
<!--{/if}-->

<!--{if !empty($jsmenu[3])}-->
	<ul class="popupmenu_popup headermenu_popup" id="stats_menu" style="display: none">
		<li><a href="stats.php">{lang stats_main}</a></li>
		<!--{if $statstatus}-->
			<li><a href="stats.php?type=views">{lang stats_views}</a></li><li><a href="stats.php?type=agent">{lang stats_agent}</a></li><li><a href="stats.php?type=posts">{lang stats_posthist}</a></li>
		<!--{/if}-->
		<li><a href="stats.php?type=forumsrank">{lang stats_forums_rank}</a></li><li><a href="stats.php?type=threadsrank">{lang stats_threads_rank}</a></li><li><a href="stats.php?type=postsrank">{lang stats_posts_rank}</a></li><li><a href="stats.php?type=creditsrank">{lang stats_credits_rank}</a></li>
		<!--{if $oltimespan}--><li><a href="stats.php?type=onlinetime">{lang stats_onlinetime}</a></li><!--{/if}-->
		<li><a href="stats.php?type=team">{lang stats_team}</a></li>
		<!--{if $modworkstatus}--><li><a href="stats.php?type=modworks">{lang stats_modworks}</a></li><!--{/if}-->
	</ul>
<!--{/if}-->

<!--{if $discuz_uid && $jsmenu[4]}-->
	<ul class="popupmenu_popup headermenu_popup" id="my_menu" style="display: none">
		<li><a href="my.php?item=threads">{lang show_mytopics}</a></li>
		<li><a href="my.php?item=favorites&type=thread">{lang my_favorites}</a></li>
		<li><a href="my.php?item=subscriptions">{lang my_subscriptions}</a></li>
		<li><a href="my.php?item=grouppermission">{lang my_permissions}</a></li>
		<li><a href="my.php?item=polls&type=poll">{lang my_polls}</a></li>
		<li><a href="my.php?item=reward&type=stats">{lang my_rewards}</a></li>
		<li><a href="my.php?item=debate&type=orig">{lang my_debate}</a></li>
		<li><a href="my.php?item=buddylist">{lang my_buddylist}</a></li>
		<!--{if $creditspolicy['promotion_visit'] || $creditspolicy['promotion_register']}-->
			<li><a href="my.php?item=promotion">{lang post_my_advisit}</a></li>
		<!--{/if}-->
		<!--{if $supe['status'] && $xspacestatus}-->
			<li><a href="$supe[siteurl]/?uid/$discuz_uid" target="_blank">{lang space}</a></li>
		<!--{elseif $spacestatus}-->
			<li><a href="space.php?uid=$discuz_uid" target="_blank">{lang space}</a></li>
		<!--{/if}-->
	</ul>
<!--{/if}-->